main: util.o jmp.o mov.o push.o pop.o add.o mul.o sub.o call.o cmp.o div.o ret.o load.o store.o
	gcc -I include -o vm main.c util.o jmp.o mov.o push.o pop.o add.o mul.o sub.o call.o cmp.o div.o ret.o load.o store.o
	rm *.o
util.o:
	gcc -c src/util.c  -I include
jmp.o:
	gcc -c src/jmp.c  -I include
mov.o:
	gcc -c src/mov.c  -I include
push.o:
	gcc -c src/push.c  -I include
pop.o:
	gcc -c src/pop.c  -I include
add.o:
	gcc -c src/add.c  -I include
mul.o:
	gcc -c src/mul.c  -I include
sub.o:
	gcc -c src/sub.c  -I include
call.o:
	gcc -c src/call.c  -I include
cmp.o:
	gcc -c src/cmp.c  -I include
div.o:
	gcc -c src/div.c  -I include
ret.o:
	gcc -c src/ret.c  -I include
load.o:
	gcc -c src/load.c  -I include
store.o:
	gcc -c src/store.c  -I include
clear:
	rm *.o